package com.heima.scanConteng;

import com.heima.aliyun.GreenTextScan;
import com.heima.comment.CommentApplication;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.Map;

@SpringBootTest(classes = CommentApplication.class)
@RunWith(SpringRunner.class)
public class AliyunScanText {
    @Autowired
    GreenTextScan greenTextScan;

    @Test
    public void dad() throws Exception {
        System.out.println("开始了哦");
        Map map = greenTextScan.greenTextScan("哈dgsdh熔沸点绝缘体天热火热祭坛入口有活路了发的话就发给可以打样文化投入省教育厅莎朗斯通也课题荣耀时刻哈,冰,毒哦,毒,品哦,冰毒哦");
        System.out.println("开始了哦");
    }
}
